package com.gin.kotlin.gf2gamecommunity.database

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.gin.kotlin.gf2gamecommunity.database.converter.MyTypeConverter
import com.gin.kotlin.gf2gamecommunity.database.dao.GF2AccountDao
import com.gin.kotlin.gf2gamecommunity.database.entity.GF2Account

@Database(version = 1, entities = [GF2Account::class])
@TypeConverters(MyTypeConverter::class)
abstract class GF2Database : RoomDatabase() {

    abstract fun gF2AccountDao(): GF2AccountDao

    companion object {
        private val TAG = GF2Database::class.java.simpleName
    }
}